\name{SetID}
\alias{SetID}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Sets the Geometry ID
}
\encoding{UTF-8}
\description{
设置几何对象的ID，ID必须为大于0的整数
}
\usage{
SetID(obj, id)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{obj}{
几何对象
}
  \item{id}{
id值，大于0的整数
}
}
\details{
%%  ~~ If necessary, more details than the description above ~~
}
\value{
设置成功返回id，否则返回 FALSE
}
\references{
%% ~put references to the literature/web site here ~
}
\author{
%%  ~~who you are~~
}
\note{
%%  ~~further notes~~
}

%% ~Make other sections like Warning with \section{Warning }{....} ~

\seealso{
\code{\link{GetID}}
}
\examples{

geo <- CreatePoint(10,20)
SetID(geo, 10L)
id <- GetID(geo)

}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ supermap }% use one of  RShowDoc("KEYWORDS")
\keyword{ID}
